package link;

public class ListNode {
    int val;
    ListNode next;
    ListNode (int val){
        this.val=val;
    }
    boolean hashNext(){
        return next!=null?true:false;
    }


}
